package com.finance.system.dao;

import com.finance.system.bean.pojo.Carrier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: gly
 * @Date: Created in 2017-08-07
 */
@Component
public interface CarrierMapper {

    List<Carrier> listAll();

    List<Carrier> list();

    String getCodeByName(@Param("name") String Name);

    String getNameByCode(@Param("code") String carrierCode);
}
